package com.zhu.commentstatisticspublisher.service.impl;


import com.zhu.commentstatisticspublisher.bean.EvaluationWindow;
import com.zhu.commentstatisticspublisher.mapper.ClickHouseSelectMapper;
import com.zhu.commentstatisticspublisher.service.ClickHouseSelectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClickHouseSelectServiceImpl implements ClickHouseSelectService {

    @Autowired
    private ClickHouseSelectMapper clickHouseSelectMapper;

    @Override
    public EvaluationWindow getEvaluationWindow(String startTime, String endTime) {
        return clickHouseSelectMapper.getEvaluationWindow(startTime,endTime);
    }
}
